package com.yunfei.mapper.aiiidb;
import com.yunfei.api.v2.param.AddAccountParam;
import com.yunfei.api.v2.result.GetAccountInfo;
import com.yunfei.mapper.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
*@tablename 查询受益账号信息
*@author zhengyunfei
*@createDate Thu Aug 08 09:31:33 CST 2019
*/ 
@Mapper
public interface AccountInfoMapper<T> extends BaseDao<T>  {
	/**
	* @Description: 查询受益账号信息
	* @Author: zhengyunfei
	* @Date: 2019/8/8
	* @time:10:57
	*/
	T getAccountInfo(Map<String, Object> paramMap);
	/**
	 * @Description: 受益账号选择
	 * @Author: zhengyunfei
	 * @Date: 2019/8/8
	 * @time:10:57
	 */
	List<T> getAccountSelect(Map<String, Object> paramMap);
	/**
	* @Description: 填写账户信息（投资者）
	* @Author: zhengyunfei
	* @Date: 2019/8/9
	* @time:14:10
	*/
	void add (AddAccountParam param);
	/**
	* @Description: 判断客户是否填写了账户信息
	* @Author: zhengyunfei
	* @Date: 2019/8/12
	* @time:9:51
	*/
    int isWhiteAccountInfo(Map<String, Object> reserveNoMap);
    /**
    * @Description: 默认读取填写的信息
    * @Author: zhengyunfei
    * @Date: 2019/8/12
    * @time:10:13
    */
	GetAccountInfo getDefaultWriteAccountInfo(Map<String, Object> reserveNoMap);
    /**
    * @Description: 根据银行卡号获取银行信息
    * @Author: zhengyunfei
    * @Date: 2019/8/12
    * @time:11:18
    */
	Object getBankByNo(Map<String, Object> queryMap);
	/**
	* @Description: 获取银行列表
	* @Author: zhengyunfei
	* @Date: 2019/8/12
	* @time:11:19
	*/
	List<Object> getBankList();

	String isEdite(Map<String, Object> queryMap);
	String getIdenNoByLoginMobile(Map<String, Object> queryMap);
	int isShiMingRenZheng(Map<String, Object> queryMap);

	List<GetAccountInfo> getLiCaiShiLuRuInfo(Map<String, Object> queryMap);
}

